package my.study.org.mongodb.bo;

import net.sf.json.JSONObject;

public class KeyWord {
	private long planID;

	private long unitID;

	private long wordID;

	private long wordInfoID;

	private String value;

	public long getPlanID() {
		return planID;
	}

	public void setPlanID(long planID) {
		this.planID = planID;
	}

	public long getUnitID() {
		return unitID;
	}

	public void setUnitID(long unitID) {
		this.unitID = unitID;
	}

	public long getWordID() {
		return wordID;
	}

	public void setWordID(long wordID) {
		this.wordID = wordID;
	}

	public long getWordInfoID() {
		return wordInfoID;
	}

	public void setWordInfoID(long wordInfoID) {
		this.wordInfoID = wordInfoID;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	public String toJson() {
		return JSONObject.fromObject(this).toString();
	}

}
